
                var imagecount=1;
		var  total = 5;
		
		function slider(x) {
			var image = document.getElementById('img');
			imagecount = imagecount + x;
			if(imagecount > total) { imagecount = 1;}
			if(imagecount < 1) { imagecount = total;}
			
			image.src = "images/Slide/slide_" + imagecount + ".jpg";
		}
		
                
                window.setInterval(
		function sliderA() {
			var image = document.getElementById('img');
			imagecount = imagecount + 1;
			if(imagecount > total) { imagecount = 1;}
			if(imagecount < 1) { imagecount = total;}
			
			image.src = "images/Slide/slide_" + imagecount + ".jpg";
		},5000);